
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>Doc · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="fize_doc_doc_handler.html" />
    
    
    <link rel="prev" href="./" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="./">
            
                <a href="./">
            
                    
                    类库参考
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.2.1" data-path="fize_doc_doc.html">
            
                <a href="fize_doc_doc.html">
            
                    
                    Doc
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="fize_doc_doc_handler.html">
            
                <a href="fize_doc_doc_handler.html">
            
                    
                    DocHandler
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="fize_doc_handler_markdown.html">
            
                <a href="fize_doc_handler_markdown.html">
            
                    
                    handler\Markdown
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="fize_doc_handler_re_structured_text.html">
            
                <a href="fize_doc_handler_re_structured_text.html">
            
                    
                    handler\ReStructuredText
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="fize_doc_handler_driver_markdown.html">
            
                <a href="fize_doc_handler_driver_markdown.html">
            
                    
                    handler\driver\Markdown
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.6" data-path="fize_doc_handler_driver_re_structured_text.html">
            
                <a href="fize_doc_handler_driver_re_structured_text.html">
            
                    
                    handler\driver\ReStructuredText
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >Doc</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x89E3;&#x6790;-php-&#x6E90;&#x7801;&#xFF0C;&#x5E76;&#x751F;&#x6210;&#x5BF9;&#x5E94;&#x6587;&#x6863;&#x683C;&#x5F0F;">&#x89E3;&#x6790; PHP &#x6E90;&#x7801;&#xFF0C;&#x5E76;&#x751F;&#x6210;&#x5BF9;&#x5E94;&#x6587;&#x6863;&#x683C;&#x5F0F;</h1>
<table>
<thead>
<tr>
<th>&#x5C5E;&#x6027;</th>
<th>&#x503C;</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x547D;&#x540D;&#x7A7A;&#x95F4;</td>
<td>fize\doc</td>
</tr>
<tr>
<td>&#x7C7B;&#x540D;</td>
<td>Doc</td>
</tr>
</tbody>
</table>
<p><strong>&#x5C5E;&#x6027;</strong></p>
<blockquote>
<table>
<thead>
<tr>
<th>&#x540D;&#x79F0;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="#handler">handler</a></td>
</tr>
</tbody>
</table>
</blockquote>
<p><strong>&#x65B9;&#x6CD5;</strong></p>
<blockquote>
<table>
<thead>
<tr>
<th>&#x65B9;&#x6CD5;&#x540D;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="#construct">__construct()</a></td>
<td>&#x5E38;&#x89C4;&#x8C03;&#x7528;&#x8BF7;&#x5148;&#x521D;&#x59CB;&#x5316;</td>
</tr>
<tr>
<td><a href="#file">file()</a></td>
<td>&#x89E3;&#x6790;&#x4EE3;&#x7801;&#x6587;&#x4EF6;</td>
</tr>
<tr>
<td><a href="#dir">dir()</a></td>
<td>&#x89E3;&#x6790;&#x4EE3;&#x7801;&#x6587;&#x4EF6;&#x5939;</td>
</tr>
</tbody>
</table>
</blockquote>
<h2 id="&#x5C5E;&#x6027;">&#x5C5E;&#x6027;</h2>
<h3 id="handler">handler</h3>
<p><strong>&#x4FEE;&#x9970;&#x7B26;</strong></p>
<blockquote>
<p>private static<strong>&#x7C7B;&#x578B;</strong>
\fize\doc\DocHandler<strong>&#x9ED8;&#x8BA4;&#x503C;</strong>
null    </p>
</blockquote>
<h2 id="&#x65B9;&#x6CD5;">&#x65B9;&#x6CD5;</h2>
<h3 id="construct">__construct()</h3>
<p>&#x5E38;&#x89C4;&#x8C03;&#x7528;&#x8BF7;&#x5148;&#x521D;&#x59CB;&#x5316;</p>
<pre><code class="lang-php"><span class="hljs-keyword">public</span> <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">__construct</span> <span class="hljs-params">(
    string $handler
)</span>
</span></code></pre>
<p><strong>&#x53C2;&#x6570;</strong></p>
<blockquote>
<table>
<thead>
<tr>
<th>&#x540D;&#x79F0;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>handler</td>
<td>&#x4F7F;&#x7528;&#x7684;&#x5B9E;&#x9645;&#x63A5;&#x53E3;&#x540D;&#x79F0;</td>
</tr>
</tbody>
</table>
</blockquote>
<h3 id="file">file()</h3>
<p>&#x89E3;&#x6790;&#x4EE3;&#x7801;&#x6587;&#x4EF6;</p>
<pre><code class="lang-php"><span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">file</span> <span class="hljs-params">(
    string $file,
    string $output,
    string $namespace = <span class="hljs-string">&quot;&quot;</span>,
    array $filters = []
)</span>
</span></code></pre>
<p><strong>&#x53C2;&#x6570;</strong></p>
<blockquote>
<table>
<thead>
<tr>
<th>&#x540D;&#x79F0;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>file</td>
<td>&#x6587;&#x4EF6;&#x8DEF;&#x5F84;</td>
</tr>
<tr>
<td>output</td>
<td>&#x5BFC;&#x51FA;&#x7684;&#x6587;&#x6863;&#x8DEF;&#x5F84;</td>
</tr>
<tr>
<td>namespace</td>
<td>&#x547D;&#x540D;&#x7A7A;&#x95F4;</td>
</tr>
<tr>
<td>filters</td>
<td>&#x8FC7;&#x6EE4;&#x5668;</td>
</tr>
</tbody>
</table>
</blockquote>
<h3 id="dir">dir()</h3>
<p>&#x89E3;&#x6790;&#x4EE3;&#x7801;&#x6587;&#x4EF6;&#x5939;</p>
<pre><code class="lang-php"><span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">dir</span> <span class="hljs-params">(
    string $dir,
    string $output,
    string $namespace = <span class="hljs-string">&quot;&quot;</span>,
    array $map = [],
    array $filters = []
)</span>
</span></code></pre>
<p><strong>&#x53C2;&#x6570;</strong></p>
<blockquote>
<table>
<thead>
<tr>
<th>&#x540D;&#x79F0;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>dir</td>
<td>&#x4EE3;&#x7801;&#x76EE;&#x5F55;</td>
</tr>
<tr>
<td>output</td>
<td>&#x6307;&#x5B9A;&#x751F;&#x6210;&#x6587;&#x6863;&#x76EE;&#x5F55;</td>
</tr>
<tr>
<td>namespace</td>
<td>&#x6307;&#x5B9A;&#x4EE3;&#x7801;&#x7684;&#x9876;&#x7EA7;&#x547D;&#x540D;&#x7A7A;&#x95F4;</td>
</tr>
<tr>
<td>map</td>
<td>&#x6587;&#x4EF6;&#x5939;&#x5728;&#x6587;&#x6863;&#x4E2D;&#x7684;&#x547D;&#x540D;</td>
</tr>
<tr>
<td>filters</td>
<td>&#x8FC7;&#x6EE4;&#x5668;</td>
</tr>
</tbody>
</table>
</blockquote>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="./" class="navigation navigation-prev " aria-label="Previous page: 类库参考">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="fize_doc_doc_handler.html" class="navigation navigation-next " aria-label="Next page: DocHandler">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"Doc","level":"1.2.1","depth":2,"next":{"title":"DocHandler","level":"1.2.2","depth":2,"path":"libraries/fize_doc_doc_handler.md","ref":"libraries/fize_doc_doc_handler.md","articles":[]},"previous":{"title":"类库参考","level":"1.2","depth":1,"path":"libraries/README.md","ref":"libraries/README.md","articles":[{"title":"Doc","level":"1.2.1","depth":2,"path":"libraries/fize_doc_doc.md","ref":"libraries/fize_doc_doc.md","articles":[]},{"title":"DocHandler","level":"1.2.2","depth":2,"path":"libraries/fize_doc_doc_handler.md","ref":"libraries/fize_doc_doc_handler.md","articles":[]},{"title":"handler\\Markdown","level":"1.2.3","depth":2,"path":"libraries/fize_doc_handler_markdown.md","ref":"libraries/fize_doc_handler_markdown.md","articles":[]},{"title":"handler\\ReStructuredText","level":"1.2.4","depth":2,"path":"libraries/fize_doc_handler_re_structured_text.md","ref":"libraries/fize_doc_handler_re_structured_text.md","articles":[]},{"title":"handler\\driver\\Markdown","level":"1.2.5","depth":2,"path":"libraries/fize_doc_handler_driver_markdown.md","ref":"libraries/fize_doc_handler_driver_markdown.md","articles":[]},{"title":"handler\\driver\\ReStructuredText","level":"1.2.6","depth":2,"path":"libraries/fize_doc_handler_driver_re_structured_text.md","ref":"libraries/fize_doc_handler_driver_re_structured_text.md","articles":[]}]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"libraries/fize_doc_doc.md","mtime":"2020-02-25T09:27:23.736Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-02-25T09:28:13.989Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

